import { UIButton } from './lib/ui.js';

function ToolbarMove(editor) {

    const strings = editor.strings;

    var icon = document.createElement('img');
    icon.title = strings.getKey('toolbar/translate');
    icon.src = 'images/translate.svg';

    var btn = new UIButton();
    btn.dom.className = 'Button selected';
    btn.dom.appendChild(icon);
    btn.onClick(function () {

        // signals.transformModeChanged.dispatch( 'translate' );
    });


    return btn;

}

export { ToolbarMove };
